package com.xungou.city.dao;


import com.xungou.core.mvc.IDao;
import com.xungou.city.pojo.City;

import java.util.List;
import java.util.Map;

public interface ICity  extends IDao<City> {

    String getCode(City record);

    int deleteByCode(String code);

    List<Map<String,Object>> getCityTree();

    List<Map<String,Object>> getCityList(Map<String, String> params);

    City selectByCode(String code);
}